<!DOCTYPE html>
<html xmlns:th="http://www.thymeleaf.org">
<head>
  <link rel="stylesheet" th:href="@{/css/bootstrap.min.css}" />
  <script th:src="@{/js/jquery-3.6.0.min.js}"></script>
  <script th:src="@{/js/bootstrap.min.js}"></script>
  <meta charset="UTF-8">
</head>
<body>
<div class="container-fruid" th:fragment="header">
  <div class="navbar navbar-default navbar-fixed-top" role="navigation"
       style="padding-left: 30px;">
    <ul class="nav navbar-nav">


      <li class="dropdown"><a href="##" data-toggle="dropdown"
                              class="dropdown-toggle">
        <span  th:text="${session.loginUser.username}"></span>  登录成功

        <span class="caret"></span></a>
        <ul class="dropdown-menu">
          <li><a href="/shopping/order/ownList">我的订单</a></li>
        </ul>
      </li>


      <li class="dropdown"><a href="##" data-toggle="dropdown"
                              class="dropdown-toggle">Ajax<span class="caret"></span></a>
        <ul class="dropdown-menu">
          <li><a href="#" >Ajax</a></li>
          <li><a>测验录入</a></li>
          <li><a>所有测验</a></li>
        </ul>
      </li>


      <li class="dropdown"><a href="##" data-toggle="dropdown"
                              class="dropdown-toggle">代码维护<span class="caret"></span></a>
        <ul class="dropdown-menu">
          <li><a href="/shopping/province/list">省份列表</a></li>
          <li><a href="/shopping/goodsType/list">商品类型列表</a></li>

        </ul>
      </li>

      <li class="dropdown"><a href="##" data-toggle="dropdown"
                              class="dropdown-toggle">超市管理人员<span class="caret"></span></a>
        <ul class="dropdown-menu">
          <li><a href="/shopping/goods/list">商品管理</a></li>
          <li><a href="/shopping/order/list">订单列表</a></li>
          <li><a href="/shopping/order/query">订单查询</a></li>
        </ul>
      </li>
      <li class="dropdown"><a href="##" data-toggle="dropdown"
                              class="dropdown-toggle">用户<span class="caret"></span></a>
        <ul class="dropdown-menu">
          <li><a href="/shopping/user/list">全部用户</a></li>
          <li><a href="/shopping/user/pageList?pageno=1">用户分页</a></li>
          <li><a href="/shopping/user/add" >增加用户</a></li>
          <li><a href="/shopping/user/query">分页查询</a></li>
          <li><a href="/shopping/user/buy">购买下单</a></li>
        </ul>
      </li>

      <li><a  href="/shopping/user/logout">安全退出</a></li>
    </ul>
  </div>

</div>
</body>
</html>